home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
More Source
/
C⁄C++
/
Xconq 7.0d37
/
source
/
misc
/
word2table.in
< prev
next >
Wrap
Text File
|
1994-02-08
|
379b
|
6 lines
# Translate WORD usages into "(table TABLE add ...)" forms wherever found.
/WORD/s/;\([^ ()]*\) \([^ ()]*\) \([^ ()]*\) WORD[ ]*$/(table TABLE add (\3 \2 \1))/
/foo/s/;\([^ ()]\) \((.*)\) WORD[ ]*$/(table TABLE add (foo \2 \1))/
/WORD/s/;\((.*)\) \([^ ()]*\) \([^ ()]*\) WORD[ ]*$/(table TABLE add (\3 \2 \1))/
/foo/s/;\((.*)\) \((.*)\) WORD[ ]*$/(table TABLE add (foo \2 \1))/